Retrieve configuration details for a specific campaign.
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/campaigns/{campaign-id}
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adFormat": "banner",
"bidCount": 123,
"budget": 123,
"budgetPeriod": "daily",
"chargeType": "CPM",
"createdAt": "2023-11-07T05:31:56Z",
"currencyCode": "USD",
"endDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isActive": true,
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"targetRoas": 10.25
}
The ID of the campaign.
Successful Response
Represents a public version of an agency campaign, used in API responses.
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/campaigns/{campaign-id}
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adFormat": "banner",
"bidCount": 123,
"budget": 123,
"budgetPeriod": "daily",
"chargeType": "CPM",
"createdAt": "2023-11-07T05:31:56Z",
"currencyCode": "USD",
"endDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isActive": true,
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"targetRoas": 10.25
}
Retrieve configuration details for a specific campaign.
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/campaigns/{campaign-id}
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adFormat": "banner",
"bidCount": 123,
"budget": 123,
"budgetPeriod": "daily",
"chargeType": "CPM",
"createdAt": "2023-11-07T05:31:56Z",
"currencyCode": "USD",
"endDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isActive": true,
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"targetRoas": 10.25
}
The ID of the campaign.
Successful Response
Represents a public version of an agency campaign, used in API responses.
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/campaigns/{campaign-id}
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"adFormat": "banner",
"bidCount": 123,
"budget": 123,
"budgetPeriod": "daily",
"chargeType": "CPM",
"createdAt": "2023-11-07T05:31:56Z",
"currencyCode": "USD",
"endDate": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"isActive": true,
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"targetRoas": 10.25
}